package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Commodit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品名称，字典表中
     */
    private Integer name;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 商品状态
     */
    private Integer status;

    /**
     * 国标价格
     */
    private BigDecimal gprice;

    /**
     * 简介
     */
    private String info;

    private Integer deleted;

    /**
     * 门店表id
     */
    private Integer store;


}
